package com.es.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统资源
 * </p>
 *
 * @author everysucceed
 * @since 2021-12-10
 */
@Getter
@Setter
@TableName("sys_resource")
@ApiModel(value = "SysResourceDO对象", description = "系统资源")
public class SysResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据主键")
    private Long dataId;

    @ApiModelProperty("资源名称")
    private String resourceName;

    @ApiModelProperty("资源编码")
    private String resourceCode;

    @ApiModelProperty("资源类型 0 目录 1 菜单 2 按钮")
    private Integer resourceType;

    @ApiModelProperty("资源地址")
    private String resourceUrl;

    @ApiModelProperty("打开类型")
    private Integer openType;

    @ApiModelProperty("父ID")
    private Long parentId;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("排序")
    private Integer seq;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("修改人")
    private Long updateUser;

    @ApiModelProperty("数据版本")
    private Integer dataVersion;

    @ApiModelProperty("是否启用")
    private Integer dataEnable;


}
